Action

Constructors

Link copied to clipboard
constructor(consumer: Consumer<BeforeUnload.Response>)

Functions

Link copied to clipboard
Returns true if this action is closed.
Link copied to clipboard
open fun leave()
Notifies the browser that the user decided to leave the current page.
Link copied to clipboard
open fun stay()
Notifies the browser that the user decided to stay on the current page.